package adv4;

import java.util.Scanner;

public class ScanTest {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// String str = sc.next();
		// System.out.println(str + ">" + str.length());
		// String str2 = sc.nextLine();
		// String str3 = sc.nextLine();
		// System.out.println(str2 + ">>" + str2.length());
		// System.out.println(str3 + ">>" + str3.length());
		long str2 = sc.nextLong(16);
		// String str3 = sc.nextLine();
		System.out.println(str2 + ">>");
		// System.out.println(str3 + ">>" + str3.length());
	}
}
